export {};
type Pick<T, K extends keyof T> = {
  [P in K]: T[P];
};

interface IPerson {
  name: string;
  age: number;
}
type person = Pick<IPerson, "age">;
let p: person = {
  // name: "John",
  age: 12,
};
